<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" >
    <head lang="en">
        <title>Edit Corpus</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <script type="text/javascript" th:src="@{/lib/jquery-1.7.2.min.js}"/>
        <script src="//hm.baidu.com/hm.js?3cfaa114cca90dbeb8cf6908074f92ef"></script>
        <link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}" media="all"/>
        <script type="text/javascript" th:src="@{/lib/layui/layui.js}"/>
    </head>
    <body>
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>问题详情页</legend>
        </fieldset>

        <input id="id" th:value="${project.id}" style="display: none"/>
        <div class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">Key</label>
                <div class="layui-input-inline">
                    <input type="text" id="key" name="key" lay-verify="required" autocomplete="off" placeholder="请输入问题标识" th:value="${project.key}" class="layui-input" disabled="disabled"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">项目名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name" lay-verify="required" placeholder="请输入项目名称" autocomplete="off" th:value="${project.name}" class="layui-input" disabled="disabled"/>
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">问题摘要</label>
                <div class="layui-input-block">
                    <textarea id="summary" name="summary" lay-verify="required" placeholder="请输入问题摘要" th:value="${project.summary}" th:text="${project.summary}" class="layui-textarea" disabled="disabled"></textarea>
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">问题描述</label>
                <div class="layui-input-block">
                    <textarea id="description" name="description" lay-verify="required" placeholder="请输入问题描述" th:value="${project.description}" th:text="${project.description}" class="layui-textarea" disabled="disabled"></textarea>
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">解决方案</label>
                <div class="layui-input-block">
                    <textarea id="scheme" name="scheme" lay-verify="required" placeholder="请输入问题描述" th:value="${project.scheme}" th:text="${project.scheme}" class="layui-textarea" disabled="disabled"></textarea>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">报告人</label>
                <div class="layui-input-inline">
                    <input type="text" id="reporter" name="reporter" lay-verify="required" placeholder="请输入报告人" th:value="${project.reporter}" autocomplete="off" class="layui-input" disabled="disabled"/>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">支持人</label>
                <div class="layui-input-inline">
                    <input type="text" id="supporter" name="supporter" lay-verify="required" placeholder="请输入支持人" th:value="${project.supporter}" autocomplete="off" class="layui-input" disabled="disabled"/>
                </div>
            </div>
        </div>
    </body>
</html>